#define set_bit(ADDRESS,BIT) (ADDRESS |= (1<<BIT))
#define clear_bit(ADDRESS,BIT) (ADDRESS &= ~(1<<BIT))
#define flip_bit(ADDRESS,BIT) (ADDRESS ^= (1<<BIT))
#define test_bit(ADDRESS,BIT) (ADDRESS & (1<<BIT))

#define LCD_DATA 1
#define LCD_CMD  0

#define RS    0
#define RESET 1
#define CS    2
#define CLK   3
#define DAT   4

#define LCD_PORT PORTB

#define small_delay() {int _tmp = 0; for (i = 0; i < 1024; i++) ;}
